package com.dlnu.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;
import com.dlnu.config.Entity;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User extends Entity{
	private Integer id;
	@Length(max = 100)
	private String userName;
	@Length(max = 100)
	private String password;
	@Length(max = 100)
	private String name;
	@Length(max = 100)
	private String phone;
	private Integer type;
	@Length(max = 200)
	private String remark;

	private List<Integer> ids;
}